Test Case
|
API Endpoint |
Suggested Test Case
|
Expected Result
|
1
|
GET /version
|
Retrieve API version/Test API connectivity
|
API Version returned
|
2
|
GET /services
|
Retrieve service inventory and status (with /services)
|
List of current CRT services with their service inventory details and current status
|
3
|
GET /services/outages.csv
|
Retrieve Outage History in csv format
|
History of CRT service outages over specified time period in csv format for all current CRT services
|
4
|
GET /services/outages.json
|
Retrieve Outage History in JSON format (with /services/outages.json)
|
History of CRT service outages over specified time period in JSON format for all current CRT services
|
5
|
GET /services/stats.csv
|
Retrieve KPI statistics history in csv format (with /services/stats.csv)
|
History of CRT KPI statistics over specified time period in csv format for all current CRT services
|
6
|
GET /services/stats.json
|
Retrieve KPI statistics history in JSON format (with /services/stats.json)
|
History of CRT KPI statistics over specified time period in JSON format for all current CRT services
|
7
|
GET /services/{service_id}/outages.csv
|
Retrieve Outage History in csv format
|
History of CRT service outages over specified time period in csv format for specified CRT service
|
8
|
GET /services/{service_id}/outages.json
|
Retrieve Outage History in JSON format
|
History of CRT service outages over specified time period in JSON format for specified CRT service
|
9
|
GET /services/{service_id}/stats.csv
|
Retrieve KPI statistics history in csv format
|
History of CRT service KPI statistics over specified time period in csv format for specified CRT service
|
10
|
GET /services/{service_id}/stats.json
|
Retrieve KPI statistics history in JSON format
|
History of CRT service KPI statistics over specified time period in JSON format for specified CRT service
|